import java.util.List;

/**
 * Represents an if statement that inherits from an ExprS
 * An if statement in the surface syntax has a condition as a string representing the code
 * and a then statement which is a list of expressions
 *
 */
public class IfS extends ExprS {

	private List <ExprS> then; 
	
	public IfS(String condition, List <ExprS> then) {
		super(condition);
		this.then = then;
	}
	
	public List <ExprS> getThen() {
		return then;
	}
	
	public void setThen(List<ExprS> newThen) {
		this.then = newThen;
	}
	
	

}
